package com.gitee.wsl.struct.generator.vin

class InvalidVinLengthException(vin: String) :
    Exception("Invalid VIN length: ${vin.length}. Expected length is 17 characters. Ensure that the VIN is 17 characters long, which is the standard length for VINs. Please check the VIN and try again.") {
}

class InvalidVinRegionCharException(regionChar: String) :
    Exception("Invalid region ID: '$regionChar'. The first character of the VIN should be within the ranges A-H, J-R, S-Z, or 1-9 to indicate a valid region. Please check the VIN and try again.")


class InvalidVinYearException(yearChar: Char) :
    Exception("Invalid model year character: '$yearChar'. Expected a valid year character within the allowed range. Please check the VIN and try again.")